﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Slb.Ocean.Petrel.UI;
using Slb.Ocean.Petrel;
using Slb.Ocean.Units;

namespace Public.Ocean.Petrel.Extensions.Services
{
    class DefaultPropertySettingsInfo : IPropertySettingsInfo
    {
        public ITemplate CurrentTemplate
        {
            get { return PetrelUnitSystem.TemplateGroupMiscellaneous.General; }
            set { }
        }

        public bool IsTemplateReadOnly
        {
            get { return true; }
        }

        public event EventHandler PropertySettingsChanged { add { } remove { } }

        public IEnumerable<IUnitMeasurement> SupportedMeasurements
        {
            get { return new IUnitMeasurement[0]; }
        }
    }
}
